package com.epam.education.bilyi.shopingcart;

import java.math.BigDecimal;
import java.util.List;

public interface ShopingCart {

	/**
	 * add goods to cart
	 * @param goods
	 */
	public void addGoods(Goods goods);
	
	/**
	 * add goods to cart with quantity
	 * @param goods 
	 * @param quantity
	 */
	public void addGoods(Goods goods, int quantity);
	
	/**
	 * delete goods from cart
	 * @param goods
	 */
	public void deleteGoods(Goods goods);
	
	/**
	 * get count of all goods 
	 * @return count of goods
	 */
	public int getCoodsCount();
	
	/**
	 * get goods list
	 * @return goods list
	 */
	public List<Goods> getGoodsList();
	
	/**
	 * get price all goods
	 * @return price all goods
	 */
	public BigDecimal getTotalSum();
}
